package com.yuyou.fn.report.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.report.entity.CostOfProduct;
import com.yuyou.fn.report.vo.CostOfProductQueryVo;
import com.yuyou.fn.report.vo.ProductCostVo;
import com.yuyou.fn.report.vo.TimeAmountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * CostOfProduct 表数据库控制层接口
 *
 */
public interface CostOfProductMapper extends AutoMapper<CostOfProduct,Long> {

    List<TimeAmountVo> findProductMonthAmount(@Param("costOfProductQueryVo") CostOfProductQueryVo costOfProductQueryVo);

    List<ProductCostVo> findProductCost(@Param("costOfProductQueryVo") CostOfProductQueryVo costOfProductQueryVo);
}